package com.chenss.dragonser.listener;
import com.zhy.http.okhttp.callback.Callback;

import java.io.IOException;

import okhttp3.Response;

/**
 * MyStrCallBack
 */
public abstract class MyStrCallBack extends Callback<String>
{
    @Override
    public String parseNetworkResponse(Response response, int id) throws IOException
    {
//       String sessionId=(response.headers()).get("sessionId");
//        TaxipassengerApplication.getInstance().setSessionId(sessionId);
        return response.body().string();
    }
}
